<?php
/**
 * Menu Model
 *
 * menu_model.php
 * @author Hector Lucero
 * @version 1.0
 * @copyright Hector Lucero, 12 October, 2011
 * @package 1.0
 **/

class Menu_model extends CI_Model {
    
    function __construct() {
        parent::__construct();
    }

    function general($content_legend = "") {
        $data = array();
        $data['title'] = 'Camaras Cablemas';
        $data['js'] = "";
        $data['meta'] = "";
        $data['application_name'] = "Camaras Cablemas";
        $data['resp'] = "";
        $data['site_name'] = "Camaras Cablemas";
        $data['site_menu'] = $this->site_menu();
        $data['app_menu'] = "";
        $data['content_html'] = "";
        $data['content_legend'] = $content_legend;
        $data['status_color'] = "";

        return $data;
    }

    function site_menu() {
        $html = '<li><a href="'.site_url("intro").'" title="Intro"><span>Intro</span></a></li>';
        $html .= '<li><a href="'.site_url("matriz").'" title="Suc.Independencia"><span>Independencia</span></a></li>';
        $html .= '<li><a href="'.site_url("anahuac").'" title="Suc.Anahuac"><span>Anahuac</span></a></li>';
        $html .= '<li><a href="'.site_url("jardines").'" title="Suc.Jardines"><span>Jardines</span></a></li>';
        $html .= '<li><a href="'.site_url("carranza").'" title="Suc.Carranza"><span>Carranza</span></a></li>';

        return $html;
    }

}
/* end of file */
